package org.kfive.nova.reflect;

import java.lang.reflect.AnnotatedType;
import java.lang.reflect.Constructor;

import com.mongodb.util.JSON;
import org.kfive.nova.App;
import org.kfive.nova.JvmTest;
import org.springframework.cglib.core.TypeUtils;
import org.springframework.stereotype.Component;

/**
 * @program: nova
 * @author: zhanwu.lzw
 * @create: 2021-07-09 14:37
 **/
@Component
public class ReflectTest extends App {

    public JvmTest jvmTest = new JvmTest();

    public ReflectTest(){

    }

    public ReflectTest(String name){

    }

    private ReflectTest(String name,String desc){

    }


    public static void main(String[] args)  {
        //System.out.println(ReflectTest.class.isAnnotationPresent(Component.class));
        AnnotatedType annotatedInterfaces = ReflectTest.class.getAnnotatedSuperclass();
        System.out.printf(ReflectTest.class.getDeclaredClasses().toString());
    }

}
